//
//  DABaseViewController.h
//  DAKnowledge
//
//  Created by DreamArts on 16/4/26.
//  Copyright © 2016年 lidongyang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Utility.h"
#import "DAHeader.h"
#import "DAKit.h"
#import "Masonry.h"
#import "DADataHandel.h"
#import "AFNetworking.h"
#import "SVProgressHUD.h"
#import "MJRefresh.h"
#import "UIImageView+WebCache.h"

typedef void(^NETBLOCK)(id result);

@class DAloginPersonalInformation;

@interface DABaseViewController : UIViewController

//@property (nonatomic, strong) MBProgressHUD *hud;
//@property (nonatomic, strong) MBProgressHUD *hudMB;

@property (nonatomic, strong) NSMutableArray *userDefaultKeys;
/** 计算文本高度*/
- (CGFloat)heightWithText:(NSString *)text Width:(CGFloat)width Font:(CGFloat)font;


@property (nonatomic, copy) NSString *userID;
@property (nonatomic, copy) NSString *requestTimeOut;
@property (nonatomic, copy) NSString *netWorkPortConnection;
@property (nonatomic, copy) NSString *netIsNotAvailabel;
@property (nonatomic, copy) NSString *requestFailed;

- (void)loadMBProgress:(NSString *)str;


- (void)loadDataMBProgress;
- (void)finishLoadDataMBProgress;

- (NSString *)readLocalTheUserInfoData;

// - (BOOL)isSavedDataWithUrl:(NSString *)url dic:(NSDictionary *)dic;

//- (NSDictionary *)readTheLocalDataWith:(NSString *)url dic:(NSDictionary *)dic;


@end
